var http = require('utils/http.js')
var util = require('utils/util.js')
//app.js
App({
  onLaunch: function () {
    //调用API从本地缓存中获取数据

  },
  globalData: {
    staffId: '',
    staffName: '',
    mobile: '',
    password:'',
    token: '',
    recTimeData:[],
    szyData:[],
    ssyData:[],
    userInfo:null,
    xinlvshang: 60,
    xinlvxia: 110,
    xueyangshang: 90,
    xueyangxia: 100,
    wendushang: 26,
    wenduxia: 40,
    username: '',
    id: '',
  },
  func: {
    req: http.req,
    reqUploadFile: http.reqUploadFile,
    randomNum: util.randomNum,
    reqForTiePian: http.reqForTiePian,
    reqForTiePianLogin: http.reqForTiePianLogin,
    checkData: util.checkData
  }

})